/* === Collection Paragraph Styling === */
.paragraph {
  margin: 32px auto 32px auto;
  padding: 16px 24px;
  max-width: 600px;
  font-size: 1.35rem;
  text-align: center;
  background: #f8f8f8;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  letter-spacing: 0.01em;
}

/* === Card Spacing === */
.collections .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 36px 28px;
}
.collections .card {
  margin-bottom: 24px;
  padding-bottom: 18px;
}

@media (max-width: 600px) {
  .paragraph {
    font-size: 1.05rem;
    padding: 12px 8px;
    margin: 20px 8px 20px 8px;
    max-width: 98vw;
  }
  .collections .grid {
    gap: 24px 8px;
  }
  .collections .card {
    margin-bottom: 16px;
    padding-bottom: 10px;
  }
}
/* Hide only price and ml (badge) sections for solid perfume cards, keep rating visible */
.fragrance-card .price,
.fragrance-card .old,
.fragrance-card .badge {
  display: none !important;
}

/* ==============================
   YOGRA NATURALS — SOLID PERFUMES
   ============================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}

html, body {
  height: 100%;
}

body {
  padding-top: 140px;
  color: #000;
  overflow-x: hidden;

  background-image:
    linear-gradient(
      to bottom,
      rgba(0,0,0,0.25),
      rgba(0,0,0,0.35)
    ),
    url("../images/pdct bg main.png");

  background-size: cover;          /* ✅ FULL PAGE */
  background-position: center;     /* ✅ NATURAL */
  background-repeat: no-repeat;    /* ✅ ONE IMAGE */
  background-attachment: scroll;  /* ✅ MOBILE SAFE */

  min-height: 100vh;
}


.paragraph {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;

  text-align: center;
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: 2px;

  background: linear-gradient(90deg, #d6b287, #fff3d6, #c5a177);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  text-shadow: 0 0 15px rgba(214,178,135,0.3);
}



/* MOBILE FIX */
@media (max-width: 768px) {
  .paragraph {
    font-size: 1.9rem;
    gap: 10px;
  }

  .icon {
    width: 22px;
    height: 22px;
  }
}

header {
  text-align: center;
  padding: 10px 0;
  height: 60px;
  padding-top: 15px;
}

header h1 {
  font-size: 2rem;
  color: #fbfbfb;
  margin-bottom: 2rem;

}

header p {
  font-size: 1rem;
  color: #fffafa;
}

/* ====== GRID ====== */
.fragrance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); /* ✅ 4 per row on desktop */
  gap: 1.4rem;
  padding: 2rem;
  max-width: 1300px;
  margin: auto;
}

/* ====== CARD ====== */
.fragrance-card {
  background: #fff;
  border-radius: 16px; /* 👈 curve entire card */
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  display: flex;
  flex-direction: column;
  transform-origin: center;
}

/* ✨ Hover: smooth zoom + bounce combo */
.fragrance-card:hover {
  transform: scale(1.04);
  animation: bounceCard 0.7s ease;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
}

@keyframes bounceCard {
  0%, 100% {
    transform: scale(1.04) translateY(0);
  }
  30% {
    transform: scale(1.05) translateY(-8px);
  }
  50% {
    transform: scale(1.04) translateY(3px);
  }
  70% {
    transform: scale(1.05) translateY(-5px);
  }
  90% {
    transform: scale(1.04) translateY(2px);
  }
}

/* ====== IMAGE ====== */

.imageWrap {
  aspect-ratio: 1/1; /* Makes image area square */
  width: 100%;
  max-width: 320px; /* Optional: limits size on desktop */
  margin: 0 auto;
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
}


.imageWrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  transition: transform 0.6s ease;
  display: block;
}

/* zoom effect for image */
.fragrance-card:hover .imageWrap img {
  transform: scale(1.08);
}

@media (max-width: 600px) {
  .imageWrap {
    max-width: 90vw;
    aspect-ratio: 1/1;
  }
}

/* ====== CONTENT ====== */
.info {
  padding: 0.9rem 1rem 1.2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.brand {
  font-size: 0.75rem;
  letter-spacing: 0.4px;
  color: #777;
  margin-bottom: 0.25rem;
}

.info h3 {
  font-size: 1rem;
  color: #222;
  margin-bottom: 0.3rem;
}

.priceRow {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 0.3rem;
}

.price {
  color: #1a7c45;
  font-weight: 700;
  font-size: 0.9rem;
}

.old {
  text-decoration: line-through;
  color: #999;
  font-size: 0.8rem;
}

.rating {
  color: #ffcc00;
  font-size: 0.8rem;
}

.badge {
  font-size: 0.7rem;
  background: #e8f5e9;
  color: #1b5e20;
  padding: 3px 7px;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.desc {
  font-size: 0.78rem;
  color: #555;
  margin-bottom: 0.6rem;
}

.specs {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 0.6rem;
}

.spec {
  background: #f3f3f3;
  padding: 4px 6px;
  border-radius: 6px;
  font-size: 0.7rem;
  color: #444;
}

/* ====== BUY CONTROLS ====== */
.buyControls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.qty {
  display: flex;
  align-items: center;
  gap: 5px;
}

.qty button {
  width: 22px;
  height: 22px;
  border: none;
  background: #e0e0e0;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background 0.2s ease;
}

.qty button:hover {
  background: #c8e6c9;
}

.shopNow {
  text-decoration: none;
  background: #1b5e20;
  color: #fff;
  padding: 6px 14px;
  border-radius: 8px;
  transition: background 0.3s ease;
  font-size: 0.8rem;
}

.shopNow:hover {
  background: #43a047;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 992px) {
  .fragrance-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .fragrance-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
  header h1 {
    font-size: 1.5rem;
  }
}

/* ================= FOOTER ================= */


/* Make the footer fully stretch to left-right edges */
body, html {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
}
/* ================= FOOTER ================= */
.footer {
  
  overflow: hidden;
  padding: 60px 20px 40px;
  font-family: 'Poppins', sans-serif;
  color: #fff;
  background: transparent;
  min-height: 380px;       /* ⬅ IMPORTANT for canvas height */
}

/* Canvas */
#footer-leaves {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;              /* ⬅ bring canvas above background */
  pointer-events: none;
}


/* Glow */
.footer-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120%;
  height: 120%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255,223,180,0.3) 0%, transparent 70%);
  z-index: 0;
  animation: glowShiftColor 60s linear infinite alternate;
}

@keyframes glowShiftColor {
  0%   { background: radial-gradient(circle, rgba(255,223,180,0.3), transparent 70%); }
  25%  { background: radial-gradient(circle, rgba(255,200,150,0.3), transparent 70%); }
  50%  { background: radial-gradient(circle, rgba(255,240,180,0.3), transparent 70%); }
  75%  { background: radial-gradient(circle, rgba(255,210,170,0.3), transparent 70%); }
  100% { background: radial-gradient(circle, rgba(255,223,180,0.3), transparent 70%); }
}

/* Layout */
.footer-container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  align-items: flex-start;
}

.footer-links,
.footer-contact,
.footer-newsletter {
  flex: 1 1 280px;
  min-width: 260px;
}

.footer-newsletter {
  align-self: flex-start;
}

/* Headings */
.footer-links h3,
.footer-contact h3,
.footer-newsletter h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: #a3d18c;
  letter-spacing: 0.5px;
}

/* Links */
.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin: 12px 0;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  position: relative;
  transition: 0.3s ease;
}

.footer-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: #a3d18c;
  transition: width 0.3s ease;
}

.footer-links a:hover {
  color: #a3d18c;
  letter-spacing: 0.5px;
}

.footer-links a:hover::after {
  width: 100%;
}

/* Contact */
.footer-contact p {
  margin: 8px 0;
  color: #ccc;
  font-size: 0.95rem;
}

.footer-contact a {
  color: #fff;
  text-decoration: none;
  transition: 0.3s ease;
}

.footer-contact a:hover {
  color: #a3d18c;
}

.footer-map {
  margin-top: 10px;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255,255,255,0.08);
  height: 220px;
}

.footer-map iframe {
  width: 100%;
  height: 100% !important;
  display: block;
  border: 0;
}

/* Social Icons */
.footer-social {
  display: flex;
  gap: 15px;
  margin-top: 12px;
}

.footer-social a {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  transition: all 0.3s ease;
  box-shadow: 0 0 6px rgba(255,255,255,0.15);
}

.footer-social img {
  width: 22px;
  height: 22px;
  
  transition: 0.3s ease;
}

.footer-social a:hover {
  background: rgba(163,209,140,0.25);
  transform: scale(1.15);
  box-shadow: 0 0 15px rgba(163,209,140,0.7);
}

/* Newsletter */
.footer-newsletter form {
  display: flex;
  flex-wrap: wrap;
  margin-top: 10px;
}

.footer-newsletter input {
  flex: 1;
  min-width: 180px;
  padding: 12px 15px;
  border-radius: 50px 0 0 50px;
  border: none;
  outline: none;
}

.footer-newsletter button {
  padding: 12px 20px;
  border-radius: 0 50px 50px 0;
  border: none;
  background: #a3d18c;
  cursor: pointer;
  font-weight: 600;
  transition: 0.3s ease;
}

.footer-newsletter button:hover {
  background: #8ac176;
}

/* Success */
.success-msg {
  display: none;
  margin-top: 8px;
  color: #00ff7f;
  font-weight: 500;
}

/* Logo */
.footer-logo {
  text-align: center;
  margin-top: 30px;
  font-size: 2rem;
  font-weight: bold;
  color: #a3d18c;
  text-shadow: 0 0 10px rgba(163,209,140,0.7);
  letter-spacing: 1px;
}

/* Bottom */
.footer-bottom {
  text-align: center;
  margin-top: 10px;
  font-size: 0.85rem;
  color: #ccc;
}

.footer-bottom:hover {
  color: #a3d18c;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-newsletter form {
    flex-direction: column;
  }

  .footer-newsletter input,
  .footer-newsletter button {
    width: 100%;
    border-radius: 50px;
    margin: 5px 0;
  }

  .footer-social a {
    width: 35px;
    height: 35px;
  }

  .footer-social img {
    width: 18px;
    height: 18px;
  }
}

/* Season Toggle Button */
.season-toggle {
  position: absolute;
  top: 15px;
  right: 20px;
  z-index: 5;
}

.season-toggle button {
  padding: 8px 14px;
  border-radius: 20px;
  border: none;
  cursor: pointer;
  font-size: 0.85rem;
  background: rgba(255,255,255,0.15);
  color: #fff;
  backdrop-filter: blur(6px);
  transition: all 0.3s ease;
}

.season-toggle button:hover {
  background: rgba(255,255,255,0.3);
}
.season-toggle {
  position: absolute;
  top: 16px;
  right: 20px;
  z-index: 10;
}

.season-toggle button {
  padding: 8px 14px;
  border-radius: 18px;
  border: none;
  cursor: pointer;
  font-size: 0.85rem;
  background: rgba(255,255,255,0.2);
  color: #fff;
  backdrop-filter: blur(6px);
  transition: all 0.3s ease;
}

.season-toggle button:hover {
  background: rgba(255,255,255,0.35);
}

/* === SOCIAL MEDIA SECTION FIX === */
.footer-social {
  display: flex;
  align-items: center;
  margin-top: 15px;
}

.footer-social a {
  background: rgba(255, 255, 255, 0.2);
  padding: 8px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 5px;
  transition: 0.3s ease;
}

.footer-social a:hover {
  background: rgba(255, 255, 255, 0.4);
}

/* Fix footer glow overflow */
  .footer-glow {
    width: 100%;
    height: 100%;
  }

  /* Ensure images never overflow */
  img {
    max-width: 100%;
    height: auto;
  }

/* ===== FIX FOOTER CANVAS ON MOBILE ===== */
/* ===== FOOTER CANVAS FULL HEIGHT FIX (ALL DEVICES) ===== */
.footer {
  position: relative;
}

#footer-leaves {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
/* ================== HEADER & NAVBAR ================== */
/* ================== HEADER & NAVBAR ================== */
.navbar {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 18px 0; /* ✅ Balanced height */
  z-index: 1000;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}


.navbar.scrolled {
  background: rgba(0, 0, 0, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.navbar nav {
  width: 90%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo {
  width: 45px;
  height: 45px;
  object-fit: contain;
  border-radius: 50%;
  margin-right: 10px;
}

.nav-text {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
  
 
}

/* ================== DESKTOP MENU ================== */
.menu {
  display: flex;
  gap: 30px;
}

.menu a {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.3s ease, transform 0.3s ease;
}

.menu a:hover {
  color: #a3ffb0;
  transform: scale(1.05);
}

/* ================== HAMBURGER ================== */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  z-index: 2002;
}

.hamburger div {
  width: 25px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Hamburger animation */
.hamburger.active div:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active div:nth-child(2) {
  opacity: 0;
}
.hamburger.active div:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ================== PREMIUM MOBILE MENU (SLIDE FROM RIGHT) ================== */
.mobile-menu {
  position:fixed;
  top:0;
  right:-100%;
  width:100%;
  max-width:300px;
  height:100vh;
  background:rgba(0, 0, 0, 0.96);
  backdrop-filter:blur(8px);
  display:flex;
  flex-direction:column;
  gap:18px;
  padding:90px 20px 20px 20px;
  z-index:1300;
  transition:right .36s ease;
  overflow-y:auto;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu a {
  color: #fff;
  font-size: 1.2rem;
  text-decoration: none;
  font-weight: 500;
  transition: transform 0.3s ease, color 0.3s ease;
}

.mobile-menu a:hover {
  color: #a3ffb0;
  transform: translateX(8px);
}

/* Close button */
.close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
}

/* ================== OVERLAY ================== */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 2000;
}

.mobile-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

/* ================== RESPONSIVE ================== */
@media (max-width: 850px) {
  .menu {
    display: none;
  }

  .hamburger {
    display: flex;
  }
}

/* ================== PAGE SPACING FIX ================== */
body {
  padding-top: 140px;
}

.hero-section,
#products {
  margin-top: 40px;
}


@media (max-width: 768px) {
  body {
    background-attachment: scroll;
  }
}

@media (max-width: 768px) {
  body {
    background-position: center top;
  }
}


/* ================= REMOVE MOBILE BOTTOM GREY GAP ================= */
html {
  background: #1f3328;
}

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  overscroll-behavior-y: none;
}

/* compensate fixed navbar */
body {
  padding-top: 72px;   /* same as navbar height */
}

/* fix mobile viewport height properly */
.hero-section {
  min-height: calc(100dvh - 72px);
}